﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using F2Enum.Library;
using System.IO;
using F2Enum.TestApp.Lib;
using System.Diagnostics;
using System.Threading;
namespace F2Enum.TestApp
{
    class Program
    {
        static void Main(string[] args)
        {
            Stopwatch watch = Stopwatch.StartNew();
            watch.Start();
            MainProgram main = new MainProgram();
            var result1 = main.GetInstanceNumber("Data\\Test.Txt");
            Console.WriteLine(result1);
            watch.Stop();
            Console.WriteLine(watch.Elapsed.Duration());
            Console.ReadLine();
            watch.Restart();
            var testClass = main.GetEnumTestClass("Data\\Test.Txt");
            watch.Stop();
            Console.WriteLine(testClass.Count());
            Console.WriteLine(watch.Elapsed.Duration());
            testClass = null;
            Console.ReadLine();
        }
    }
}
